import { BaseService, Service, Permission } from '@/cool';
@Service('crm/pinduoduo')
export default class extends BaseService {
	@Permission('checkGood')
	checkGood(params) {
		return this.request({
			url: '/checkGood',
			params
		});
	}
	// 配置查询
	@Permission('pddAutoSelfConfigWechat')
	pddAutoSelfConfigWechat(params) {
		return this.request({
			url: '/pddAutoSelfConfigWechat',
			params
		});
	}

	// 配置修改
	@Permission('updateAutoSelfConfigPdd')
	updateAutoSelfConfigPdd(data) {
		return this.request({
			url: '/updateAutoSelfConfigPdd',
			method: 'POST',
			data
		});
	}
}
